import request from '../utils/request'

export function login(username, password) {
    const data = {
        "username":username,
        "password":password
    }
    return request({
        url: '/admin/user/login',
        method: 'post',
        data: data
    })
}

export function getPersonalUser() {
    return request({
        url: '/admin/user/personal/info',
        method: 'get'
    })
}


